import request from "@/utils/request";
export function insertAddress(data) {
  return request({
    url: "/address/insert",
    method: "post",
    data: data
  });
}
export function updateAddress(data) {
  return request({
    url: "/address/update",
    method: "post",
    data: data
  });
}
export function deleteAddress(data) {
  return request({
    url: "/address/delete",
    method: "post",
    data: data
  });
}
export function deletesAddress(data) {
  return request({
    url: "/address/deletes",
    method: "post",
    data: data
  });
}
export function enableAddress(data) {
  return request({
    url: "/address/enable",
    method: "post",
    data: data
  });
}
export function enablesAddress(data) {
  return request({
    url: "/address/enables",
    method: "post",
    data: data
  });
}
export function disableAddress(data) {
  return request({
    url: "/address/disable",
    method: "post",
    data: data
  });
}
export function disablesAddress(data) {
  return request({
    url: "/address/disables",
    method: "post",
    data: data
  });
}
export function viewAddress(params) {
  return request({
    url: "/address/view",
    method: "get",
    params: params
  });
}
export function pageAddress(params) {
  return request({
    url: "/address/page",
    method: "get",
    params: params
  });
}
export function searchAddress(params) {
  return request({
    url: "/address/search",
    method: "get",
    params: params
  });
}
